package com.sutong.gateway.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.context.annotation.Configuration;

import java.util.ArrayList;
import java.util.List;

/**
 * 配置黑名单IP
 *
 * @author sutong
 * @date 2024-07-14 19:09
 */
@Data
@Configuration
@RefreshScope
@ConfigurationProperties(prefix = "security")
public class BlackListProperties {
    /**
     * 配置黑名单IP
     */
    private List<String> black = new ArrayList<>();

}
